#ifndef PLAYER_H__
#define PLAYER_H__
#include <string>
#include "C3DS_Loader.h"
using namespace std;

class Player
{
private:
	C3DModel model;	
    string name;	
    unsigned xPos;	
    unsigned yPos;	
	unsigned remainingMoves;	
	unsigned maxMoves;		
	int money;				
	int reputation;		
	int health;		

public:
	Player();
	~Player() {}

	string getName(){return name;}
	unsigned getXPos(){return xPos;}
	unsigned getYPos(){return yPos;}
	unsigned getRemainingMoves(){return remainingMoves;}
	unsigned getMaxMoves(){return maxMoves;}
	int getMoney(){return money;}
	int getReputation(){return reputation;}
	int getHealth(){return health;}

	void changeXPos(unsigned xPos_){xPos += xPos_;}
	void changeYPos(unsigned yPos_){yPos += yPos_;}
	void changePos(unsigned xPos_,unsigned yPos_) {xPos += xPos_; yPos += yPos_;}
	void changeMoves(unsigned remainingMoves_){remainingMoves += remainingMoves_;}
	void changeMaxMoves(unsigned maxMoves_){maxMoves += maxMoves_;}
	void changeMoney(int money_){money += money_;}
	void changeReputation(int reputation_){reputation += reputation_;}
	void changeHealth(int health_){health += health_;}

	void setModel(C3DModel model_) {model=model_;}
	void setName(string name_) {name = name_;}
	void setXPos(unsigned xPos_){xPos = xPos_;}
	void setYPos(unsigned yPos_){yPos = yPos_;}
	void setPos(unsigned xPos_,unsigned yPos_) {xPos = xPos_; yPos = yPos_;}
	void setMoves(unsigned remainingMoves_){remainingMoves = remainingMoves_;}
	void setMaxMoves(unsigned maxMoves_){maxMoves = maxMoves_;}
	void setMoney(int money_){money = money_;}
	void setReputation(int reputation_){reputation = reputation_;}
	void setHealth(int health_){health = health_;}
};

#endif